package com.wl.api.model.system;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 *
 * 
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "security_user")
@Builder
public class SecurityUser implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Long id;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	private String password;

	/**  */
	private String salt;

	/**  */
	private String status;

	/**  */
	private String username;

	/**  */
	private String email;

	/**  */
	private String realname;

	/**  */
	private String phone;

	/**  */
	@TableField(value = "org_id")
	private Long orgId;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/**  */
	@TableField(value = "update_id")
	private Long updateId;
	
	@TableField(value = "is_deleted")
	private Integer isDeleted;

}
